export default function iconName(isActive: boolean, icon?: string, activeIcon?: string) {
  let name
  if ((!isActive && icon) || (isActive && !activeIcon))
    name = icon

  else if (isActive && activeIcon)
    name = activeIcon

  return name
}
